<div class="row-fluid">
        <div class="span12">
    <h3 class="heading">Registro de Nuevo Profesor</h3>    
    <?php echo $this->Form->create('Alumnos'); ?>
    <?php
        //$idParalelo = $paralelosProfesores['0']['Paralelo']['id']; 
        //echo $this->Form->hidden('paralelo_id', array('value'=>$idParalelo)); 
    ?>
    <div class="formSep">
        <div class="row-fluid">            
            
            <div class="span4">
                <label>Nivel: <span class="f_req">*</span></label>
                <select name="data[Alumno][nivele_id]" id="chosen_a" data-placeholder="Seleccione Materia..." class="chzn_a">
                    <option value=""></option>                    
                    <?php foreach($dcn as $dn): ?>
					   <option value="<?php echo $dn['Nivele']['id']; ?>"><?php echo $dn['Nivele']['nombre']; ?></option>
                    <?php endforeach; ?>
                </select>
            </div>
       
            <div class="span4">
                <div id="cargaParalelos">
                    <label>Paralelos <span class="f_req">*</span></label>
                    <select name="data[ParalelosProfesore][profesore_id]" id="chosen_b" data-placeholder="Choose a Country..." class="chzn_a">
                        <option value=""></option>                    

                    </select>
                </div>
            </div>
            
        </div>
    </div>
  
    <div class="form-actions">
        <button class="btn btn-success" type="submit">Guardar Materia Profesor</button>        
    </div>   
</form>
</div>
</div>
<script>
    $(document).ready(function(){
        $("#chosen_a").change(function(event){
            //var id = $("#select1").find(':selected').val();
            //$("#select2").load('genera-select.php?id='+id);
            console.log('cambio');
        });
    });
</script>

<?php //llamamos scripts formularios ?>
<?php echo $this->element('jsformularios'); ?>